package org.jim.server.processor.friend;

import org.jim.core.exception.BimException;
import org.jim.core.packets.User;
import org.jim.server.processor.SingleProtocolCmdProcessor;

public interface FriendCmdProcessor extends SingleProtocolCmdProcessor {

    User preCheck(String userId, String friendId, String ft) throws BimException;

    void addCustomerFriend(String userId, String friendId);

    void delFriend(String userId, String friendId);

    void addBlack(String userId, String friendId);

    void removeBlack(String userId, String friendId);

    User addFriend(String userId, String applyId);

    void setFriendNickname(String userId, String friendId, String friendName);

    void resetFriendNickname(String userId, String friendId);
}
